//
//  NotificationCreateViewController.h
//  MapLink
//
//  Created by student on 5/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>


@interface NotificationCreateViewController : UIViewController <UITextViewDelegate> {
	IBOutlet UIButton *btnSend;
	IBOutlet UIButton *btnCancel;
	IBOutlet UILabel *lblWordCount;
	IBOutlet UITextView *txtMessage;
	IBOutlet UIActivityIndicatorView *activityIndicatorView;
	
	NSMutableData *buffer;
	NSURLConnection *conn;
	
	NSString *groupName;
	NSString *displayName;
	NSString *deviceID;
	CLLocationCoordinate2D currentLocation;
}

@property (nonatomic, retain) IBOutlet UIButton *btnSend;
@property (nonatomic, retain) IBOutlet UIButton *btnCancel;
@property (nonatomic, retain) IBOutlet UILabel *lblWordCount;
@property (nonatomic, retain) IBOutlet UITextView *txtMessage;

@property (nonatomic, retain) NSMutableData *buffer;

@property (nonatomic, assign) NSString *groupName;
@property (nonatomic, assign) NSString *displayName;
@property (nonatomic, assign) NSString *deviceID;
@property (nonatomic) CLLocationCoordinate2D currentLocation;

- (IBAction) clickedCancel;
- (IBAction) clickedSend;
- (IBAction) updateWordCount;

@end
